//
//  HotTableViewCell.m
//  xxShare
//
//  Created by 柳麟喆 on 2018/3/27.
//  Copyright © 2018年 lzLiu. All rights reserved.
//

#import "HotTableViewCell.h"

@implementation HotTableViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

- (void)setModel:(FeedModel *)model{
    _model = model;
    _hotImage.image = [UIImage imageNamed:_model.photos.firstObject];
    _author.text = _model.name;
    _money.text = _model.moneyNum;
}

@end
